<ul id="ul"></ul>

<script>
  const list = [1, 2, 3]
  for (let i = 0; i < list.length; i++) {
    const li = document.createElement('li')
    li.textContent = 'react'
    document.getElementById('ul').appendChild(li)
  }
</script>